package estructurasDeDatos.HashTable2;

import estructurasDeDatos.IHashElement;

public class HashTableElement < K , V > implements IHashElement<K, V> {
	private K key ; 
	private V val ;
	
	
	public HashTableElement(K key2, V value) {
		val = value ; 
		key = key2 ;
	}
	public void clear ( ) { 
		val = null ;
	}
	
	public K getKey() {
		return key;
	}
	public void setKey(K key) {
		this.key = key;
	}
	public V getValue() {
		return val;
	}
	public void setValue(V val) {
		this.val = val;
	} 
	

}
